/*
 * Created by: vadikv
 * Created: Monday, April 07, 2008
 */

using System.Collections.Generic;

namespace OneDayModel.Interfaces
{
    public interface IExistingUserProfileModel
    {
        ExistingUserProfileData GetProfileData(string userAlias);

        IDictionary<string, IRoleAttribute> AllAttributesDefinitions { get; }
    }

    public class ExistingUserProfileData
    {
        private IEnumerable<string> userRoles;
        private IEnumerable<KeyValuePair<string, string >> getAtributes;

        public ExistingUserProfileData(IEnumerable<string> userRoles, IEnumerable<KeyValuePair<string, string>> getAtributes)
        {
            this.userRoles = userRoles;
            this.getAtributes = getAtributes;
        }

        public IEnumerable<string> UserRoles
        {
            get { return userRoles; }
        }

        public IEnumerable<KeyValuePair<string, string>> GetAtributes
        {
            get { return getAtributes; }
        }
    }
}